//覆盖一些element-ui样式

.el-breadcrumb__inner, .el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;
    .el-tag {
      margin-right: 0px;
    }
  }
}

//暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//文章页textarea修改样式
.article-textarea {
  textarea {
    padding-right: 40px;
    resize: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #bfcbd9;
  }
}

@import "src/styles/mixin.scss";
//element ui upload
.upload-container {
  width: 100%;
  height: 100%;
  position: relative;
  .image-uploader {
    height: 100%;
    float: left;
    margin: 10px 20px;
  }
  .image-preview {
    float: left;
    left: 0px;
    top: 0px;
    border: 1px dashed #d9d9d9;
    height: 131px;
    .image-preview-wrapper {
      position: relative;
      width: 100%;
      height: 100%;
      img {
        margin: 6px;
        height: 119px;
        width: 154px;
      }
    }
    .image-preview-action {
      position: absolute;
      width: 154px;
      height: 119px;
      left: 6px;
      top: 6px;
      cursor: default;
      text-align: center;
      color: #fff;
      opacity: 0;
      font-size: 20px;
      background-color: rgba(0, 0, 0, .5);
      transition: opacity .3s;
      cursor: pointer;
      text-align: center;
      line-height: 200px;
      .el-icon-delete {
        font-size: 36px;
      }
    }
    &:hover {
      .image-preview-action {
        opacity: 1;
      }
    }
  }
}
//dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

.edui-container .el-form-item__content{
    line-height:24px !important;
}

.el-loading-mask{
  left: 170px !important;
}
